package com.cap.bts.crmdp.dealer.coupon.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cap.bts.framework.common.domain.BaseDomain;


/**
 * The persistent class for the TM_RAW_COUPON_LINE database table.
 * 
 */
@Entity
@Table(name="TM_RAW_COUPON_LINE")
public class CouponLine extends BaseDomain implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

	private Long couponBatchId;

	private Long ticketDefId;

	public CouponLine() {
	}

    @Id
    @GeneratedValue(strategy=GenerationType.AUTO)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name="COUPON_BATCH_ID")
	public Long getCouponBatchId() {
		return this.couponBatchId;
	}

	public void setCouponBatchId(Long couponBatchId) {
		this.couponBatchId = couponBatchId;
	}

	@Column(name="TICKET_DEF_ID")
	public Long getTicketDefId() {
		return this.ticketDefId;
	}

	public void setTicketDefId(Long ticketDefId) {
		this.ticketDefId = ticketDefId;
	}

}